package com.supermap.rootstock.admin.api.util;




import java.io.Serializable;

/**
 * @Author:AQUA
 * @Description:json封装工具类
 * @Date:18/1/4 下午4:45
 */
@SuppressWarnings("serial")
public class JSONUtil implements Serializable{


    //提示信息
    private String msg = "操作成功!";

    //返回的数据
    private Object data = null;

    //总条数
    private int countSum=0;

    private Integer code = 200;


    public int getCountSum() {
        return countSum;
    }

    public JSONUtil setCountSum(int countSum) {
        this.countSum = countSum;
        return  this;
    }

    public String getMsg() {
        return msg;
    }

    public JSONUtil setMsg(String msg) {
        this.msg = msg;
        return  this;
    }

    public Object getData() {
        return data;
    }

    public JSONUtil setData(Object data) {
        this.data = data;
        return  this;
    }



    public Integer getCode() {
        return code;
    }

    public JSONUtil setCode(Integer code) {
        this.code = code;
        return  this;
    }


}
